<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <jsp:useBean id="laPropriete" class="metier.Propriete" scope="session"></jsp:useBean>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Informations du bien</title>
 <link type="text/css" rel="stylesheet" href="css/bootstrap.css" />
 <link type="text/css" rel="stylesheet" href="css/style.css" />
</head>
<body>
<jsp:include page="inc/header.jsp" />
	<% String reference = request.getParameter("ref"); 
	laPropriete = laPropriete.recupPropriete(reference);%>
		<div class="container">
			<h3><%=laPropriete.getLibelle() %></h3>	
			<img src="img/villa.jpg" class="img-rounded"/>
				<h4>Region :</h4> 
				<p><%=laPropriete.getRegion() %></p>
				<h4>Reference :</h4>
				<p><%=laPropriete.getRef() %></p>
				<h4>Prix :</h4>
				<p><%=laPropriete.getPrix() %> euros</p>
				<h4>Description :</h4> 
				<p><%=laPropriete.getDescription() %>.</p>
		</section>
	<a href="reservation.jsp?ref=<%=laPropriete.getRef() %>'"><input type="button" value="Reserver" class="btn btn-info"></a>
	</div>
</body>
</html>